package com.yy.QSManage.dao;

import com.yy.QSManage.model.dto.OptionsDto;
import com.yy.QSManage.model.entity.FaSysOption;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface FaSysOptionMapper extends LocalBaseMapper<FaSysOption> {

    /**
     * 获取选项
     * @param id
     * @return
     */
    FaSysOption getOption(@Param("id") String id);

    /**
     * 获取选项数据源
     * @param option
     * @return
     */
    List<OptionsDto> getOptions(@Param("option") FaSysOption option);
}